|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Unit | |
| observations | The observations package represents the domain layer. |
| Uses of Unit in observations |
| Methods in observations that return Unit | |
Unit |
Quantity.getUnit()
Get this quantity's unit. |
static Unit |
Unit.get(java.lang.String name)
Searches an unit in registry. |
Unit |
Unit.persist()
Saves a new unit. |
| Constructors in observations with parameters of type Unit | |
Quantity(double amount,
Unit unit)
Basic constructor used by all other constructors. |
|
Quantity(int amount,
Unit unit)
Same as basic constructor, but value given as integer. |
|
Quantity(java.lang.String amountString,
Unit unit)
Parses the given string and calls basic constructor. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||